# Generated migration for adding IPMI fields to Host model

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('cmdb', '0003_host_mac_address'),
    ]

    operations = [
        migrations.AddField(
            model_name='host',
            name='ipmi_address',
            field=models.GenericIPAddressField(
                blank=True,
                null=True,
                help_text='IPMI/BMC管理地址，用于远程电源控制',
                verbose_name='IPMI地址'
            ),
        ),
        migrations.AddField(
            model_name='host',
            name='ipmi_username',
            field=models.CharField(
                blank=True,
                max_length=50,
                verbose_name='IPMI用户名'
            ),
        ),
        migrations.AddField(
            model_name='host',
            name='ipmi_password',
            field=models.CharField(
                blank=True,
                max_length=200,
                verbose_name='IPMI密码'
            ),
        ),
    ]
